package com.ljfresh.customer.dto.udesk;

import com.ljfresh.customer.dto.UDeskResult;
import com.ljfresh.customer.pojo.Attachment;
import com.ljfresh.customer.pojo.Customer;
import com.ljfresh.customer.result.Result;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Author zzx
 */
@Data
@ApiModel(description= "工单创建返回数据")
public class TicketCreateResult extends UDeskResult {

    @ApiModelProperty(("返回的工单id"))
    private Integer ticket_id;

    @ApiModelProperty(("附件id"))
    private List<Attachment> attachments;

    //重写构造
    public TicketCreateResult(){
        super();
    }

    public TicketCreateResult(Integer code){
        super(code);
    }

    public TicketCreateResult(Integer code,String message){
        super(code,message);
    }

    public TicketCreateResult(Integer ticket_id, Integer code, String message) {
        super(code,message);
        this.ticket_id = ticket_id;
    }
}
